package com.yc.cloud.admin.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * hw_region 响应对象
 *
 * @author kinggu
 * @since 2025-09-29
 */
@Data
@ApiModel(value = "HwRegionVo", description = "hw_region响应对象")
public class HwRegionVo {

    @ApiModelProperty(value = "区域ID")
    private Long id;

    @ApiModelProperty(value = "区域名称")
    private String name;

    @ApiModelProperty(value = "行政区划代码")
    private String code;

    @ApiModelProperty(value = "父级区域ID，0表示根节点")
    private Long parentId;

    @ApiModelProperty(value = "行政级别：1-省/直辖市, 2-市, 3-市辖区/县")
    private Integer level;

    @ApiModelProperty(value = "排序字段")
    private Integer sort;

    @ApiModelProperty(value = "区域描述")
    private String description;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateTime;
}